<div id="header">
	<img src="/styles/images/logo-trans-213x50.png" alt="Open.SC logo" />
</div>

<div id="wrapper">

<div class="section menu">
	<div>
		<a href="/"<?php if (request::get("module") == "opensc_homepage" || !request::get("module")) { echo " class=\"active\""; } ?>>Home</a>
		<a href="/opensc_info/aboutus"<?php if (request::get("module") == "opensc_info") { echo " class=\"active\""; } ?>>About Open.SC</a>
	</div>
</div>

<?php if (message::getAll()) { 
	html::messageBox(message::getAll());
} ?>

<?php
$doc = document::getInstance();
echo $doc->contents["main"];

$config = config::getInstance();
if ($config->debug) {
	$req = new request(array("module" => "debug", "action" => "vars"));
	module::loadToPosition($req, "debug", css::FLOAT_CLEAR); 
	
	echo $doc->contents["debug"];
}
?>

</div>

<div class="center">
	<p class="gray">All data may be freely distributed. Open.SC runs on open source software.</p>
	
	<p class="gray small">
		This database is made available under the Open Database License: <a href="http://opendatacommons.org/licenses/odbl/1.0/">Open Database License</a>.<br/>
		Any rights in individual contents of the database are licensed under the Database Contents License: <a href="http://opendatacommons.org/licenses/dbcl/1.0/">Database Contents License</a>.<br/>
		Open.SC uses <a href="http://code.google.com/p/scibase/">SciBase</a>, and complies with <a href="http://www.w3.org/TR/xhtml1/">XHTML Strict</a> standards.
	</p>
</div>